package com.mew.slots.core.game.zzdzz.message;

import com.mew.slots.core.common.messge.response.SlotsBonusPlayResponseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.ToString;

/**
 * @author dylin
 * @create 2021/3/12
 */
@Data
@ToString(callSuper = true)
public class ZzdzzBonusPlayResponseMessage extends SlotsBonusPlayResponseMessage {
    public int rouletteIndex;//转盘下标
    public long winGold;//获取金币
    public int bankIndex;//银行下标
    public int we;//词条
    public long weAddCoin;//词条加成金币

    @Override
    public void write(ByteBuf b) {
        super.write(b);
        writeInt(b,rouletteIndex);
        writeLong(b,winGold);
        writeInt(b,bankIndex);
        writeInt(b,we);
        writeLong(b,weAddCoin);
    }
}
